package com.ruoyi.gp.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】业务对象 doctor
 *
 * @author ruoyi
 * @date 2024-03-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DoctorBo extends BaseEntity {

    /**
     * 医生编号
     */
    @NotNull(message = "医生编号不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 医生姓名
     */
    @NotBlank(message = "医生姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 医生性别
     */
    @NotBlank(message = "医生性别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sex;

    /**
     * 医生年龄
     */
    @NotNull(message = "医生年龄不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long age;

    /**
     * 科室号
     */
    @NotNull(message = "科室号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long departmentNumber;

    /**
     * 职称
     */
    @NotBlank(message = "职称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jobTitle;

    /**
     * 所在社区id
     */
    @NotNull(message = "所在社区id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long communityId;

    /**
     * 医生团队id
     */
    @NotNull(message = "医生团队id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long doctorTeamId;


}
